package com.yt.system.domain;

import java.util.Date;

public class History {
    private Integer hid;

    private Integer aid;

    private Double operatesorce;

    private String reason;

    private Date operatetime;

    private Double totalchange;

    public History(Integer hid, Integer aid, Double operatesorce, String reason, Date operatetime, Double totalchange) {
        this.hid = hid;
        this.aid = aid;
        this.operatesorce = operatesorce;
        this.reason = reason;
        this.operatetime = operatetime;
        this.totalchange = totalchange;
    }

    public History() {
        super();
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Double getOperatesorce() {
        return operatesorce;
    }

    public void setOperatesorce(Double operatesorce) {
        this.operatesorce = operatesorce;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public Date getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(Date operatetime) {
        this.operatetime = operatetime;
    }

    public Double getTotalchange() {
        return totalchange;
    }

    public void setTotalchange(Double totalchange) {
        this.totalchange = totalchange;
    }
}